using System;

namespace Camalon.Drawing.Samples.CSharp
{
	/// <summary>
	/// Summary description for MultiShapeContainer.
	/// </summary>
	public class MultiShapeContainer:Camalon.Drawing.ShapeContainer
	{
		private Camalon.Drawing.Shapes.Castle castle1;
		private Camalon.Drawing.Shapes.RectangleShape rectangleShape1;
		private Camalon.Drawing.Shapes.Ellipse ellipse1;
		private Camalon.Drawing.Shapes.Pie pie1;
		private Camalon.Drawing.Shapes.TextOnlyShape textOnlyShape1;
		private Camalon.Drawing.Shapes.MagicShape magicShape1;
		private Camalon.Drawing.Shapes.Line line1;
		private Camalon.Drawing.Shapes.MagicShape magicShape2;
		private Camalon.Drawing.PathGradientFill pathGradientFill1;
		private Camalon.Drawing.Shapes.MagicShape magicShape3;
		private Camalon.Drawing.SolidFill solidFill1;
		private Camalon.Drawing.HatchFill hatchFill1;
		private Camalon.Drawing.ShapePen shapePen2;
		private Camalon.Drawing.LinearGradientFill linearGradientFill1;
		private Camalon.Drawing.PathGradientFill pathGradientFill2;
		private Camalon.Drawing.LinearGradientFill linearGradientFill2;
		private Camalon.Drawing.LinearGradientFill linearGradientFill3;
		private Camalon.Drawing.ShapePen shapePen3;
		private Camalon.Drawing.ShapePen shapePen4;
		private Camalon.Drawing.ShapePen shapePen5;
		private Camalon.Drawing.Shade shade1;
		private Camalon.Drawing.ShapePen shapePen6;
		private Camalon.Drawing.LinearGradientFill linearGradientFill4;
		private Camalon.Drawing.ShapePen shapePen1;
	
		public MultiShapeContainer()
		{
			//
			// TODO: Add constructor logic here
			//
			InitializeComponent();
		}

		private void InitializeComponent()
		{
            this.castle1 = new Camalon.Drawing.Shapes.Castle();
            this.linearGradientFill1 = new Camalon.Drawing.LinearGradientFill();
            this.shapePen4 = new Camalon.Drawing.ShapePen();
            this.shade1 = new Camalon.Drawing.Shade();
            this.shapePen6 = new Camalon.Drawing.ShapePen();
            this.linearGradientFill4 = new Camalon.Drawing.LinearGradientFill();
            this.shapePen1 = new Camalon.Drawing.ShapePen();
            this.rectangleShape1 = new Camalon.Drawing.Shapes.RectangleShape();
            this.hatchFill1 = new Camalon.Drawing.HatchFill();
            this.shapePen2 = new Camalon.Drawing.ShapePen();
            this.ellipse1 = new Camalon.Drawing.Shapes.Ellipse();
            this.pathGradientFill1 = new Camalon.Drawing.PathGradientFill();
            this.pie1 = new Camalon.Drawing.Shapes.Pie();
            this.solidFill1 = new Camalon.Drawing.SolidFill();
            this.textOnlyShape1 = new Camalon.Drawing.Shapes.TextOnlyShape();
            this.linearGradientFill2 = new Camalon.Drawing.LinearGradientFill();
            this.shapePen3 = new Camalon.Drawing.ShapePen();
            this.linearGradientFill3 = new Camalon.Drawing.LinearGradientFill();
            this.magicShape1 = new Camalon.Drawing.Shapes.MagicShape();
            this.line1 = new Camalon.Drawing.Shapes.Line();
            this.shapePen5 = new Camalon.Drawing.ShapePen();
            this.magicShape2 = new Camalon.Drawing.Shapes.MagicShape();
            this.pathGradientFill2 = new Camalon.Drawing.PathGradientFill();
            this.magicShape3 = new Camalon.Drawing.Shapes.MagicShape();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // castle1
            // 
            this.castle1.BorderType = Camalon.Drawing.Shapes.BorderType.Line;
            this.castle1.Fill = this.linearGradientFill1;
            this.castle1.PeakCount = 5;
            this.castle1.PeakHeight = 10;
            this.castle1.PeakStyle = Camalon.Drawing.Shapes.CircleType.Gear2;
            this.castle1.Pen = this.shapePen4;
            this.castle1.Position = new System.Drawing.Point(40, 40);
            this.castle1.Shade = this.shade1;
            this.castle1.Size = new System.Drawing.Size(170, 130);
            // 
            // linearGradientFill1
            // 
            this.linearGradientFill1.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(220)))), ((int)(((byte)(114)))))),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(220)))), ((int)(((byte)(114))))), 0.4F),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.IndianRed, 1F)};
            // 
            // shapePen4
            // 
            this.shapePen4.Color = new Camalon.Drawing.TransparentColor(System.Drawing.Color.Firebrick);
            this.shapePen4.Width = 2F;
            // 
            // shade1
            // 
            this.shade1.Offset = new System.Drawing.Point(1, 1);
            this.shade1.Pen = this.shapePen6;
            this.shade1.Repeat = 6;
            // 
            // shapePen6
            // 
            this.shapePen6.Color = new Camalon.Drawing.TransparentColor(System.Drawing.Color.IndianRed);
            this.shapePen6.Fill = this.linearGradientFill4;
            this.shapePen6.Width = 3F;
            // 
            // linearGradientFill4
            // 
            this.linearGradientFill4.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.WhiteSmoke),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.IndianRed, 0.5F),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.MistyRose, 1F)};
            // 
            // rectangleShape1
            // 
            this.rectangleShape1.BottomLeft = new Camalon.Drawing.Corner(0.2857143F, 0.3333333F, Camalon.Drawing.CornerStyle.Line);
            this.rectangleShape1.BottomRight = new Camalon.Drawing.Corner(0.2857143F, 0.3333333F, Camalon.Drawing.CornerStyle.Line);
            this.rectangleShape1.Fill = this.hatchFill1;
            this.rectangleShape1.Pen = this.shapePen2;
            this.rectangleShape1.Position = new System.Drawing.Point(250, 200);
            this.rectangleShape1.Size = new System.Drawing.Size(210, 120);
            this.rectangleShape1.TopLeft = new Camalon.Drawing.Corner(0.2857143F, 0.5000001F);
            this.rectangleShape1.TopRight = new Camalon.Drawing.Corner(0.2857143F, 0.5000001F);
            // 
            // hatchFill1
            // 
            this.hatchFill1.HatchColor = new Camalon.Drawing.TransparentColor(System.Drawing.SystemColors.InactiveCaption);
            this.hatchFill1.HatchStyle = System.Drawing.Drawing2D.HatchStyle.DiagonalBrick;
            // 
            // shapePen2
            // 
            this.shapePen2.Color = new Camalon.Drawing.TransparentColor(System.Drawing.SystemColors.InactiveCaption);
            this.shapePen2.Width = 2F;
            // 
            // ellipse1
            // 
            this.ellipse1.Fill = this.pathGradientFill1;
            this.ellipse1.Pen = this.shapePen1;
            this.ellipse1.Position = new System.Drawing.Point(250, 50);
            this.ellipse1.Size = new System.Drawing.Size(180, 110);
            // 
            // pathGradientFill1
            // 
            this.pathGradientFill1.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.Black),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.WhiteSmoke, 0.5F),
        new Camalon.Drawing.CompoundColor(System.Drawing.SystemColors.InactiveCaption, 1F)};
            // 
            // pie1
            // 
            this.pie1.Fill = this.solidFill1;
            this.pie1.Pen = this.shapePen6;
            this.pie1.Position = new System.Drawing.Point(20, 350);
            this.pie1.Shade = this.shade1;
            this.pie1.Size = new System.Drawing.Size(160, 160);
            this.pie1.StartAngle = 259;
            this.pie1.SweepAngle = 236;
            // 
            // solidFill1
            // 
            this.solidFill1.Color = new Camalon.Drawing.TransparentColor(System.Drawing.Color.IndianRed);
            // 
            // textOnlyShape1
            // 
            this.textOnlyShape1.Fill = this.linearGradientFill2;
            this.textOnlyShape1.Font = new System.Drawing.Font("Arial Rounded MT Bold", 72F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textOnlyShape1.Pen = this.shapePen3;
            this.textOnlyShape1.Position = new System.Drawing.Point(470, 50);
            this.textOnlyShape1.Scale = new Camalon.Drawing.Scale(30, 10);
            this.textOnlyShape1.Shade = this.shade1;
            this.textOnlyShape1.Shear = new Camalon.Drawing.Shear(-27, 0);
            this.textOnlyShape1.Size = new System.Drawing.Size(290, 110);
            this.textOnlyShape1.Text = "Text";
            this.textOnlyShape1.TextFill = this.linearGradientFill2;
            this.textOnlyShape1.TextFormat.Alignment = System.Drawing.ContentAlignment.TopLeft;
            this.textOnlyShape1.TextPen = this.shapePen3;
            this.textOnlyShape1.TextShade = this.shade1;
            // 
            // linearGradientFill2
            // 
            this.linearGradientFill2.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.IndianRed),
        new Camalon.Drawing.CompoundColor(System.Drawing.SystemColors.InactiveCaption, 0.5F),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.WhiteSmoke, 1F)};
            // 
            // shapePen3
            // 
            this.shapePen3.Fill = this.linearGradientFill3;
            this.shapePen3.Width = 2F;
            // 
            // linearGradientFill3
            // 
            this.linearGradientFill3.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.WhiteSmoke),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.IndianRed, 0.5F),
        new Camalon.Drawing.CompoundColor(System.Drawing.SystemColors.InactiveCaption, 1F)};
            // 
            // magicShape1
            // 
            this.magicShape1.Fill = this.pathGradientFill1;
            this.magicShape1.Pen = this.shapePen1;
            this.magicShape1.Position = new System.Drawing.Point(240, 350);
            this.magicShape1.Size = new System.Drawing.Size(150, 160);
            // 
            // line1
            // 
            this.line1.Pen = this.shapePen5;
            this.line1.Points = new Camalon.Drawing.AnchorPoint[] {
        new Camalon.Drawing.AnchorPoint(420, 480),
        new Camalon.Drawing.AnchorPoint(550, 420),
        new Camalon.Drawing.AnchorPoint(700, 510)};
            this.line1.Position = new System.Drawing.Point(420, 420);
            this.line1.Size = new System.Drawing.Size(280, 90);
            // 
            // shapePen5
            // 
            this.shapePen5.Color = new Camalon.Drawing.TransparentColor(System.Drawing.Color.RoyalBlue);
            this.shapePen5.EndCap = new Camalon.Drawing.LineCapStyle(Camalon.Drawing.CapStyle.Triangle, Camalon.Drawing.CapSize.SmallSmall, Camalon.Drawing.CapAlign.Inset, 0F, false);
            this.shapePen5.LineJoin = System.Drawing.Drawing2D.LineJoin.Round;
            this.shapePen5.StartCap = new Camalon.Drawing.LineCapStyle(Camalon.Drawing.CapStyle.Round, Camalon.Drawing.CapSize.SmallSmall, Camalon.Drawing.CapAlign.Inset, 0F, false);
            this.shapePen5.Width = 10F;
            // 
            // magicShape2
            // 
            this.magicShape2.BorderType = Camalon.Drawing.Shapes.BorderType.Line;
            this.magicShape2.Fill = this.pathGradientFill2;
            this.magicShape2.InSize = new Camalon.Drawing.SizeScale(0.6842106F, 0.625F);
            this.magicShape2.PeakStyle = Camalon.Drawing.Shapes.CircleType.Gear1;
            this.magicShape2.Position = new System.Drawing.Point(40, 190);
            this.magicShape2.Size = new System.Drawing.Size(150, 160);
            // 
            // pathGradientFill2
            // 
            this.pathGradientFill2.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.Black),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.WhiteSmoke, 0.5F),
        new Camalon.Drawing.CompoundColor(System.Drawing.SystemColors.InactiveCaption, 1F)};
            // 
            // magicShape3
            // 
            this.magicShape3.BorderType = Camalon.Drawing.Shapes.BorderType.Bezier;
            this.magicShape3.Fill = this.pathGradientFill1;
            this.magicShape3.InSize = new Camalon.Drawing.SizeScale(0.7F, 0.6666667F);
            this.magicShape3.PeakCount = 33;
            this.magicShape3.Pen = this.shapePen1;
            this.magicShape3.Position = new System.Drawing.Point(480, 200);
            this.magicShape3.Size = new System.Drawing.Size(170, 180);
            // 
            // MultiShapeContainer
            // 
            this.Position = new System.Drawing.Point(20, 20);
            this.Shapes.AddRange(new Camalon.Drawing.Shape[] {
            this.castle1,
            this.rectangleShape1,
            this.ellipse1,
            this.pie1,
            this.textOnlyShape1,
            this.line1,
            this.magicShape2,
            this.magicShape3,
            this.magicShape1});
            this.Size = new System.Drawing.Size(730, 550);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

		}
	}
}
